package com.hydl.power.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PowerDataNewExample {
    /**
     */
    protected String orderByClause;

    /**
     */
    protected boolean distinct;

    /**
     */
    protected List<Criteria> oredCriteria;

    public PowerDataNewExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andIemiIsNull() {
            addCriterion("iemi is null");
            return (Criteria) this;
        }

        public Criteria andIemiIsNotNull() {
            addCriterion("iemi is not null");
            return (Criteria) this;
        }

        public Criteria andIemiEqualTo(String value) {
            addCriterion("iemi =", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiNotEqualTo(String value) {
            addCriterion("iemi <>", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiGreaterThan(String value) {
            addCriterion("iemi >", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiGreaterThanOrEqualTo(String value) {
            addCriterion("iemi >=", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiLessThan(String value) {
            addCriterion("iemi <", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiLessThanOrEqualTo(String value) {
            addCriterion("iemi <=", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiLike(String value) {
            addCriterion("iemi like", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiNotLike(String value) {
            addCriterion("iemi not like", value, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiIn(List<String> values) {
            addCriterion("iemi in", values, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiNotIn(List<String> values) {
            addCriterion("iemi not in", values, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiBetween(String value1, String value2) {
            addCriterion("iemi between", value1, value2, "iemi");
            return (Criteria) this;
        }

        public Criteria andIemiNotBetween(String value1, String value2) {
            addCriterion("iemi not between", value1, value2, "iemi");
            return (Criteria) this;
        }

        public Criteria andIaIsNull() {
            addCriterion("Ia is null");
            return (Criteria) this;
        }

        public Criteria andIaIsNotNull() {
            addCriterion("Ia is not null");
            return (Criteria) this;
        }

        public Criteria andIaEqualTo(String value) {
            addCriterion("Ia =", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotEqualTo(String value) {
            addCriterion("Ia <>", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaGreaterThan(String value) {
            addCriterion("Ia >", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaGreaterThanOrEqualTo(String value) {
            addCriterion("Ia >=", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaLessThan(String value) {
            addCriterion("Ia <", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaLessThanOrEqualTo(String value) {
            addCriterion("Ia <=", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaLike(String value) {
            addCriterion("Ia like", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotLike(String value) {
            addCriterion("Ia not like", value, "ia");
            return (Criteria) this;
        }

        public Criteria andIaIn(List<String> values) {
            addCriterion("Ia in", values, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotIn(List<String> values) {
            addCriterion("Ia not in", values, "ia");
            return (Criteria) this;
        }

        public Criteria andIaBetween(String value1, String value2) {
            addCriterion("Ia between", value1, value2, "ia");
            return (Criteria) this;
        }

        public Criteria andIaNotBetween(String value1, String value2) {
            addCriterion("Ia not between", value1, value2, "ia");
            return (Criteria) this;
        }

        public Criteria andIbIsNull() {
            addCriterion("Ib is null");
            return (Criteria) this;
        }

        public Criteria andIbIsNotNull() {
            addCriterion("Ib is not null");
            return (Criteria) this;
        }

        public Criteria andIbEqualTo(String value) {
            addCriterion("Ib =", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotEqualTo(String value) {
            addCriterion("Ib <>", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbGreaterThan(String value) {
            addCriterion("Ib >", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbGreaterThanOrEqualTo(String value) {
            addCriterion("Ib >=", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbLessThan(String value) {
            addCriterion("Ib <", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbLessThanOrEqualTo(String value) {
            addCriterion("Ib <=", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbLike(String value) {
            addCriterion("Ib like", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotLike(String value) {
            addCriterion("Ib not like", value, "ib");
            return (Criteria) this;
        }

        public Criteria andIbIn(List<String> values) {
            addCriterion("Ib in", values, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotIn(List<String> values) {
            addCriterion("Ib not in", values, "ib");
            return (Criteria) this;
        }

        public Criteria andIbBetween(String value1, String value2) {
            addCriterion("Ib between", value1, value2, "ib");
            return (Criteria) this;
        }

        public Criteria andIbNotBetween(String value1, String value2) {
            addCriterion("Ib not between", value1, value2, "ib");
            return (Criteria) this;
        }

        public Criteria andIcIsNull() {
            addCriterion("Ic is null");
            return (Criteria) this;
        }

        public Criteria andIcIsNotNull() {
            addCriterion("Ic is not null");
            return (Criteria) this;
        }

        public Criteria andIcEqualTo(String value) {
            addCriterion("Ic =", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotEqualTo(String value) {
            addCriterion("Ic <>", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcGreaterThan(String value) {
            addCriterion("Ic >", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcGreaterThanOrEqualTo(String value) {
            addCriterion("Ic >=", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcLessThan(String value) {
            addCriterion("Ic <", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcLessThanOrEqualTo(String value) {
            addCriterion("Ic <=", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcLike(String value) {
            addCriterion("Ic like", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotLike(String value) {
            addCriterion("Ic not like", value, "ic");
            return (Criteria) this;
        }

        public Criteria andIcIn(List<String> values) {
            addCriterion("Ic in", values, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotIn(List<String> values) {
            addCriterion("Ic not in", values, "ic");
            return (Criteria) this;
        }

        public Criteria andIcBetween(String value1, String value2) {
            addCriterion("Ic between", value1, value2, "ic");
            return (Criteria) this;
        }

        public Criteria andIcNotBetween(String value1, String value2) {
            addCriterion("Ic not between", value1, value2, "ic");
            return (Criteria) this;
        }

        public Criteria andUaIsNull() {
            addCriterion("Ua is null");
            return (Criteria) this;
        }

        public Criteria andUaIsNotNull() {
            addCriterion("Ua is not null");
            return (Criteria) this;
        }

        public Criteria andUaEqualTo(String value) {
            addCriterion("Ua =", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaNotEqualTo(String value) {
            addCriterion("Ua <>", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaGreaterThan(String value) {
            addCriterion("Ua >", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaGreaterThanOrEqualTo(String value) {
            addCriterion("Ua >=", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaLessThan(String value) {
            addCriterion("Ua <", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaLessThanOrEqualTo(String value) {
            addCriterion("Ua <=", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaLike(String value) {
            addCriterion("Ua like", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaNotLike(String value) {
            addCriterion("Ua not like", value, "ua");
            return (Criteria) this;
        }

        public Criteria andUaIn(List<String> values) {
            addCriterion("Ua in", values, "ua");
            return (Criteria) this;
        }

        public Criteria andUaNotIn(List<String> values) {
            addCriterion("Ua not in", values, "ua");
            return (Criteria) this;
        }

        public Criteria andUaBetween(String value1, String value2) {
            addCriterion("Ua between", value1, value2, "ua");
            return (Criteria) this;
        }

        public Criteria andUaNotBetween(String value1, String value2) {
            addCriterion("Ua not between", value1, value2, "ua");
            return (Criteria) this;
        }

        public Criteria andUbIsNull() {
            addCriterion("Ub is null");
            return (Criteria) this;
        }

        public Criteria andUbIsNotNull() {
            addCriterion("Ub is not null");
            return (Criteria) this;
        }

        public Criteria andUbEqualTo(String value) {
            addCriterion("Ub =", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotEqualTo(String value) {
            addCriterion("Ub <>", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbGreaterThan(String value) {
            addCriterion("Ub >", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbGreaterThanOrEqualTo(String value) {
            addCriterion("Ub >=", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbLessThan(String value) {
            addCriterion("Ub <", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbLessThanOrEqualTo(String value) {
            addCriterion("Ub <=", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbLike(String value) {
            addCriterion("Ub like", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotLike(String value) {
            addCriterion("Ub not like", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbIn(List<String> values) {
            addCriterion("Ub in", values, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotIn(List<String> values) {
            addCriterion("Ub not in", values, "ub");
            return (Criteria) this;
        }

        public Criteria andUbBetween(String value1, String value2) {
            addCriterion("Ub between", value1, value2, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotBetween(String value1, String value2) {
            addCriterion("Ub not between", value1, value2, "ub");
            return (Criteria) this;
        }

        public Criteria andUcIsNull() {
            addCriterion("Uc is null");
            return (Criteria) this;
        }

        public Criteria andUcIsNotNull() {
            addCriterion("Uc is not null");
            return (Criteria) this;
        }

        public Criteria andUcEqualTo(String value) {
            addCriterion("Uc =", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcNotEqualTo(String value) {
            addCriterion("Uc <>", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcGreaterThan(String value) {
            addCriterion("Uc >", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcGreaterThanOrEqualTo(String value) {
            addCriterion("Uc >=", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcLessThan(String value) {
            addCriterion("Uc <", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcLessThanOrEqualTo(String value) {
            addCriterion("Uc <=", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcLike(String value) {
            addCriterion("Uc like", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcNotLike(String value) {
            addCriterion("Uc not like", value, "uc");
            return (Criteria) this;
        }

        public Criteria andUcIn(List<String> values) {
            addCriterion("Uc in", values, "uc");
            return (Criteria) this;
        }

        public Criteria andUcNotIn(List<String> values) {
            addCriterion("Uc not in", values, "uc");
            return (Criteria) this;
        }

        public Criteria andUcBetween(String value1, String value2) {
            addCriterion("Uc between", value1, value2, "uc");
            return (Criteria) this;
        }

        public Criteria andUcNotBetween(String value1, String value2) {
            addCriterion("Uc not between", value1, value2, "uc");
            return (Criteria) this;
        }

        public Criteria andUabIsNull() {
            addCriterion("Uab is null");
            return (Criteria) this;
        }

        public Criteria andUabIsNotNull() {
            addCriterion("Uab is not null");
            return (Criteria) this;
        }

        public Criteria andUabEqualTo(String value) {
            addCriterion("Uab =", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabNotEqualTo(String value) {
            addCriterion("Uab <>", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabGreaterThan(String value) {
            addCriterion("Uab >", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabGreaterThanOrEqualTo(String value) {
            addCriterion("Uab >=", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabLessThan(String value) {
            addCriterion("Uab <", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabLessThanOrEqualTo(String value) {
            addCriterion("Uab <=", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabLike(String value) {
            addCriterion("Uab like", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabNotLike(String value) {
            addCriterion("Uab not like", value, "uab");
            return (Criteria) this;
        }

        public Criteria andUabIn(List<String> values) {
            addCriterion("Uab in", values, "uab");
            return (Criteria) this;
        }

        public Criteria andUabNotIn(List<String> values) {
            addCriterion("Uab not in", values, "uab");
            return (Criteria) this;
        }

        public Criteria andUabBetween(String value1, String value2) {
            addCriterion("Uab between", value1, value2, "uab");
            return (Criteria) this;
        }

        public Criteria andUabNotBetween(String value1, String value2) {
            addCriterion("Uab not between", value1, value2, "uab");
            return (Criteria) this;
        }

        public Criteria andUbcIsNull() {
            addCriterion("Ubc is null");
            return (Criteria) this;
        }

        public Criteria andUbcIsNotNull() {
            addCriterion("Ubc is not null");
            return (Criteria) this;
        }

        public Criteria andUbcEqualTo(String value) {
            addCriterion("Ubc =", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcNotEqualTo(String value) {
            addCriterion("Ubc <>", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcGreaterThan(String value) {
            addCriterion("Ubc >", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcGreaterThanOrEqualTo(String value) {
            addCriterion("Ubc >=", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcLessThan(String value) {
            addCriterion("Ubc <", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcLessThanOrEqualTo(String value) {
            addCriterion("Ubc <=", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcLike(String value) {
            addCriterion("Ubc like", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcNotLike(String value) {
            addCriterion("Ubc not like", value, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcIn(List<String> values) {
            addCriterion("Ubc in", values, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcNotIn(List<String> values) {
            addCriterion("Ubc not in", values, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcBetween(String value1, String value2) {
            addCriterion("Ubc between", value1, value2, "ubc");
            return (Criteria) this;
        }

        public Criteria andUbcNotBetween(String value1, String value2) {
            addCriterion("Ubc not between", value1, value2, "ubc");
            return (Criteria) this;
        }

        public Criteria andUcaIsNull() {
            addCriterion("Uca is null");
            return (Criteria) this;
        }

        public Criteria andUcaIsNotNull() {
            addCriterion("Uca is not null");
            return (Criteria) this;
        }

        public Criteria andUcaEqualTo(String value) {
            addCriterion("Uca =", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaNotEqualTo(String value) {
            addCriterion("Uca <>", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaGreaterThan(String value) {
            addCriterion("Uca >", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaGreaterThanOrEqualTo(String value) {
            addCriterion("Uca >=", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaLessThan(String value) {
            addCriterion("Uca <", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaLessThanOrEqualTo(String value) {
            addCriterion("Uca <=", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaLike(String value) {
            addCriterion("Uca like", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaNotLike(String value) {
            addCriterion("Uca not like", value, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaIn(List<String> values) {
            addCriterion("Uca in", values, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaNotIn(List<String> values) {
            addCriterion("Uca not in", values, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaBetween(String value1, String value2) {
            addCriterion("Uca between", value1, value2, "uca");
            return (Criteria) this;
        }

        public Criteria andUcaNotBetween(String value1, String value2) {
            addCriterion("Uca not between", value1, value2, "uca");
            return (Criteria) this;
        }

        public Criteria andPaIsNull() {
            addCriterion("Pa is null");
            return (Criteria) this;
        }

        public Criteria andPaIsNotNull() {
            addCriterion("Pa is not null");
            return (Criteria) this;
        }

        public Criteria andPaEqualTo(String value) {
            addCriterion("Pa =", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaNotEqualTo(String value) {
            addCriterion("Pa <>", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaGreaterThan(String value) {
            addCriterion("Pa >", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaGreaterThanOrEqualTo(String value) {
            addCriterion("Pa >=", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaLessThan(String value) {
            addCriterion("Pa <", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaLessThanOrEqualTo(String value) {
            addCriterion("Pa <=", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaLike(String value) {
            addCriterion("Pa like", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaNotLike(String value) {
            addCriterion("Pa not like", value, "pa");
            return (Criteria) this;
        }

        public Criteria andPaIn(List<String> values) {
            addCriterion("Pa in", values, "pa");
            return (Criteria) this;
        }

        public Criteria andPaNotIn(List<String> values) {
            addCriterion("Pa not in", values, "pa");
            return (Criteria) this;
        }

        public Criteria andPaBetween(String value1, String value2) {
            addCriterion("Pa between", value1, value2, "pa");
            return (Criteria) this;
        }

        public Criteria andPaNotBetween(String value1, String value2) {
            addCriterion("Pa not between", value1, value2, "pa");
            return (Criteria) this;
        }

        public Criteria andPbIsNull() {
            addCriterion("Pb is null");
            return (Criteria) this;
        }

        public Criteria andPbIsNotNull() {
            addCriterion("Pb is not null");
            return (Criteria) this;
        }

        public Criteria andPbEqualTo(String value) {
            addCriterion("Pb =", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbNotEqualTo(String value) {
            addCriterion("Pb <>", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbGreaterThan(String value) {
            addCriterion("Pb >", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbGreaterThanOrEqualTo(String value) {
            addCriterion("Pb >=", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbLessThan(String value) {
            addCriterion("Pb <", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbLessThanOrEqualTo(String value) {
            addCriterion("Pb <=", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbLike(String value) {
            addCriterion("Pb like", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbNotLike(String value) {
            addCriterion("Pb not like", value, "pb");
            return (Criteria) this;
        }

        public Criteria andPbIn(List<String> values) {
            addCriterion("Pb in", values, "pb");
            return (Criteria) this;
        }

        public Criteria andPbNotIn(List<String> values) {
            addCriterion("Pb not in", values, "pb");
            return (Criteria) this;
        }

        public Criteria andPbBetween(String value1, String value2) {
            addCriterion("Pb between", value1, value2, "pb");
            return (Criteria) this;
        }

        public Criteria andPbNotBetween(String value1, String value2) {
            addCriterion("Pb not between", value1, value2, "pb");
            return (Criteria) this;
        }

        public Criteria andPcIsNull() {
            addCriterion("Pc is null");
            return (Criteria) this;
        }

        public Criteria andPcIsNotNull() {
            addCriterion("Pc is not null");
            return (Criteria) this;
        }

        public Criteria andPcEqualTo(String value) {
            addCriterion("Pc =", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcNotEqualTo(String value) {
            addCriterion("Pc <>", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcGreaterThan(String value) {
            addCriterion("Pc >", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcGreaterThanOrEqualTo(String value) {
            addCriterion("Pc >=", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcLessThan(String value) {
            addCriterion("Pc <", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcLessThanOrEqualTo(String value) {
            addCriterion("Pc <=", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcLike(String value) {
            addCriterion("Pc like", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcNotLike(String value) {
            addCriterion("Pc not like", value, "pc");
            return (Criteria) this;
        }

        public Criteria andPcIn(List<String> values) {
            addCriterion("Pc in", values, "pc");
            return (Criteria) this;
        }

        public Criteria andPcNotIn(List<String> values) {
            addCriterion("Pc not in", values, "pc");
            return (Criteria) this;
        }

        public Criteria andPcBetween(String value1, String value2) {
            addCriterion("Pc between", value1, value2, "pc");
            return (Criteria) this;
        }

        public Criteria andPcNotBetween(String value1, String value2) {
            addCriterion("Pc not between", value1, value2, "pc");
            return (Criteria) this;
        }

        public Criteria andPtIsNull() {
            addCriterion("Pt is null");
            return (Criteria) this;
        }

        public Criteria andPtIsNotNull() {
            addCriterion("Pt is not null");
            return (Criteria) this;
        }

        public Criteria andPtEqualTo(String value) {
            addCriterion("Pt =", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtNotEqualTo(String value) {
            addCriterion("Pt <>", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtGreaterThan(String value) {
            addCriterion("Pt >", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtGreaterThanOrEqualTo(String value) {
            addCriterion("Pt >=", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtLessThan(String value) {
            addCriterion("Pt <", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtLessThanOrEqualTo(String value) {
            addCriterion("Pt <=", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtLike(String value) {
            addCriterion("Pt like", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtNotLike(String value) {
            addCriterion("Pt not like", value, "pt");
            return (Criteria) this;
        }

        public Criteria andPtIn(List<String> values) {
            addCriterion("Pt in", values, "pt");
            return (Criteria) this;
        }

        public Criteria andPtNotIn(List<String> values) {
            addCriterion("Pt not in", values, "pt");
            return (Criteria) this;
        }

        public Criteria andPtBetween(String value1, String value2) {
            addCriterion("Pt between", value1, value2, "pt");
            return (Criteria) this;
        }

        public Criteria andPtNotBetween(String value1, String value2) {
            addCriterion("Pt not between", value1, value2, "pt");
            return (Criteria) this;
        }

        public Criteria andPanIsNull() {
            addCriterion("Pan is null");
            return (Criteria) this;
        }

        public Criteria andPanIsNotNull() {
            addCriterion("Pan is not null");
            return (Criteria) this;
        }

        public Criteria andPanEqualTo(String value) {
            addCriterion("Pan =", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanNotEqualTo(String value) {
            addCriterion("Pan <>", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanGreaterThan(String value) {
            addCriterion("Pan >", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanGreaterThanOrEqualTo(String value) {
            addCriterion("Pan >=", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanLessThan(String value) {
            addCriterion("Pan <", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanLessThanOrEqualTo(String value) {
            addCriterion("Pan <=", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanLike(String value) {
            addCriterion("Pan like", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanNotLike(String value) {
            addCriterion("Pan not like", value, "pan");
            return (Criteria) this;
        }

        public Criteria andPanIn(List<String> values) {
            addCriterion("Pan in", values, "pan");
            return (Criteria) this;
        }

        public Criteria andPanNotIn(List<String> values) {
            addCriterion("Pan not in", values, "pan");
            return (Criteria) this;
        }

        public Criteria andPanBetween(String value1, String value2) {
            addCriterion("Pan between", value1, value2, "pan");
            return (Criteria) this;
        }

        public Criteria andPanNotBetween(String value1, String value2) {
            addCriterion("Pan not between", value1, value2, "pan");
            return (Criteria) this;
        }

        public Criteria andPbnIsNull() {
            addCriterion("Pbn is null");
            return (Criteria) this;
        }

        public Criteria andPbnIsNotNull() {
            addCriterion("Pbn is not null");
            return (Criteria) this;
        }

        public Criteria andPbnEqualTo(String value) {
            addCriterion("Pbn =", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnNotEqualTo(String value) {
            addCriterion("Pbn <>", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnGreaterThan(String value) {
            addCriterion("Pbn >", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnGreaterThanOrEqualTo(String value) {
            addCriterion("Pbn >=", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnLessThan(String value) {
            addCriterion("Pbn <", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnLessThanOrEqualTo(String value) {
            addCriterion("Pbn <=", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnLike(String value) {
            addCriterion("Pbn like", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnNotLike(String value) {
            addCriterion("Pbn not like", value, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnIn(List<String> values) {
            addCriterion("Pbn in", values, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnNotIn(List<String> values) {
            addCriterion("Pbn not in", values, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnBetween(String value1, String value2) {
            addCriterion("Pbn between", value1, value2, "pbn");
            return (Criteria) this;
        }

        public Criteria andPbnNotBetween(String value1, String value2) {
            addCriterion("Pbn not between", value1, value2, "pbn");
            return (Criteria) this;
        }

        public Criteria andPcnIsNull() {
            addCriterion("Pcn is null");
            return (Criteria) this;
        }

        public Criteria andPcnIsNotNull() {
            addCriterion("Pcn is not null");
            return (Criteria) this;
        }

        public Criteria andPcnEqualTo(String value) {
            addCriterion("Pcn =", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnNotEqualTo(String value) {
            addCriterion("Pcn <>", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnGreaterThan(String value) {
            addCriterion("Pcn >", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnGreaterThanOrEqualTo(String value) {
            addCriterion("Pcn >=", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnLessThan(String value) {
            addCriterion("Pcn <", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnLessThanOrEqualTo(String value) {
            addCriterion("Pcn <=", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnLike(String value) {
            addCriterion("Pcn like", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnNotLike(String value) {
            addCriterion("Pcn not like", value, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnIn(List<String> values) {
            addCriterion("Pcn in", values, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnNotIn(List<String> values) {
            addCriterion("Pcn not in", values, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnBetween(String value1, String value2) {
            addCriterion("Pcn between", value1, value2, "pcn");
            return (Criteria) this;
        }

        public Criteria andPcnNotBetween(String value1, String value2) {
            addCriterion("Pcn not between", value1, value2, "pcn");
            return (Criteria) this;
        }

        public Criteria andPtnIsNull() {
            addCriterion("Ptn is null");
            return (Criteria) this;
        }

        public Criteria andPtnIsNotNull() {
            addCriterion("Ptn is not null");
            return (Criteria) this;
        }

        public Criteria andPtnEqualTo(String value) {
            addCriterion("Ptn =", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnNotEqualTo(String value) {
            addCriterion("Ptn <>", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnGreaterThan(String value) {
            addCriterion("Ptn >", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnGreaterThanOrEqualTo(String value) {
            addCriterion("Ptn >=", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnLessThan(String value) {
            addCriterion("Ptn <", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnLessThanOrEqualTo(String value) {
            addCriterion("Ptn <=", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnLike(String value) {
            addCriterion("Ptn like", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnNotLike(String value) {
            addCriterion("Ptn not like", value, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnIn(List<String> values) {
            addCriterion("Ptn in", values, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnNotIn(List<String> values) {
            addCriterion("Ptn not in", values, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnBetween(String value1, String value2) {
            addCriterion("Ptn between", value1, value2, "ptn");
            return (Criteria) this;
        }

        public Criteria andPtnNotBetween(String value1, String value2) {
            addCriterion("Ptn not between", value1, value2, "ptn");
            return (Criteria) this;
        }

        public Criteria andPafIsNull() {
            addCriterion("Paf is null");
            return (Criteria) this;
        }

        public Criteria andPafIsNotNull() {
            addCriterion("Paf is not null");
            return (Criteria) this;
        }

        public Criteria andPafEqualTo(String value) {
            addCriterion("Paf =", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafNotEqualTo(String value) {
            addCriterion("Paf <>", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafGreaterThan(String value) {
            addCriterion("Paf >", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafGreaterThanOrEqualTo(String value) {
            addCriterion("Paf >=", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafLessThan(String value) {
            addCriterion("Paf <", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafLessThanOrEqualTo(String value) {
            addCriterion("Paf <=", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafLike(String value) {
            addCriterion("Paf like", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafNotLike(String value) {
            addCriterion("Paf not like", value, "paf");
            return (Criteria) this;
        }

        public Criteria andPafIn(List<String> values) {
            addCriterion("Paf in", values, "paf");
            return (Criteria) this;
        }

        public Criteria andPafNotIn(List<String> values) {
            addCriterion("Paf not in", values, "paf");
            return (Criteria) this;
        }

        public Criteria andPafBetween(String value1, String value2) {
            addCriterion("Paf between", value1, value2, "paf");
            return (Criteria) this;
        }

        public Criteria andPafNotBetween(String value1, String value2) {
            addCriterion("Paf not between", value1, value2, "paf");
            return (Criteria) this;
        }

        public Criteria andPbfIsNull() {
            addCriterion("pbf is null");
            return (Criteria) this;
        }

        public Criteria andPbfIsNotNull() {
            addCriterion("pbf is not null");
            return (Criteria) this;
        }

        public Criteria andPbfEqualTo(String value) {
            addCriterion("pbf =", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfNotEqualTo(String value) {
            addCriterion("pbf <>", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfGreaterThan(String value) {
            addCriterion("pbf >", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfGreaterThanOrEqualTo(String value) {
            addCriterion("pbf >=", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfLessThan(String value) {
            addCriterion("pbf <", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfLessThanOrEqualTo(String value) {
            addCriterion("pbf <=", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfLike(String value) {
            addCriterion("pbf like", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfNotLike(String value) {
            addCriterion("pbf not like", value, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfIn(List<String> values) {
            addCriterion("pbf in", values, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfNotIn(List<String> values) {
            addCriterion("pbf not in", values, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfBetween(String value1, String value2) {
            addCriterion("pbf between", value1, value2, "pbf");
            return (Criteria) this;
        }

        public Criteria andPbfNotBetween(String value1, String value2) {
            addCriterion("pbf not between", value1, value2, "pbf");
            return (Criteria) this;
        }

        public Criteria andPcfIsNull() {
            addCriterion("Pcf is null");
            return (Criteria) this;
        }

        public Criteria andPcfIsNotNull() {
            addCriterion("Pcf is not null");
            return (Criteria) this;
        }

        public Criteria andPcfEqualTo(String value) {
            addCriterion("Pcf =", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfNotEqualTo(String value) {
            addCriterion("Pcf <>", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfGreaterThan(String value) {
            addCriterion("Pcf >", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfGreaterThanOrEqualTo(String value) {
            addCriterion("Pcf >=", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfLessThan(String value) {
            addCriterion("Pcf <", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfLessThanOrEqualTo(String value) {
            addCriterion("Pcf <=", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfLike(String value) {
            addCriterion("Pcf like", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfNotLike(String value) {
            addCriterion("Pcf not like", value, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfIn(List<String> values) {
            addCriterion("Pcf in", values, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfNotIn(List<String> values) {
            addCriterion("Pcf not in", values, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfBetween(String value1, String value2) {
            addCriterion("Pcf between", value1, value2, "pcf");
            return (Criteria) this;
        }

        public Criteria andPcfNotBetween(String value1, String value2) {
            addCriterion("Pcf not between", value1, value2, "pcf");
            return (Criteria) this;
        }

        public Criteria andPtfIsNull() {
            addCriterion("Ptf is null");
            return (Criteria) this;
        }

        public Criteria andPtfIsNotNull() {
            addCriterion("Ptf is not null");
            return (Criteria) this;
        }

        public Criteria andPtfEqualTo(String value) {
            addCriterion("Ptf =", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfNotEqualTo(String value) {
            addCriterion("Ptf <>", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfGreaterThan(String value) {
            addCriterion("Ptf >", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfGreaterThanOrEqualTo(String value) {
            addCriterion("Ptf >=", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfLessThan(String value) {
            addCriterion("Ptf <", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfLessThanOrEqualTo(String value) {
            addCriterion("Ptf <=", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfLike(String value) {
            addCriterion("Ptf like", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfNotLike(String value) {
            addCriterion("Ptf not like", value, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfIn(List<String> values) {
            addCriterion("Ptf in", values, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfNotIn(List<String> values) {
            addCriterion("Ptf not in", values, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfBetween(String value1, String value2) {
            addCriterion("Ptf between", value1, value2, "ptf");
            return (Criteria) this;
        }

        public Criteria andPtfNotBetween(String value1, String value2) {
            addCriterion("Ptf not between", value1, value2, "ptf");
            return (Criteria) this;
        }

        public Criteria andPainIsNull() {
            addCriterion("Pain is null");
            return (Criteria) this;
        }

        public Criteria andPainIsNotNull() {
            addCriterion("Pain is not null");
            return (Criteria) this;
        }

        public Criteria andPainEqualTo(String value) {
            addCriterion("Pain =", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainNotEqualTo(String value) {
            addCriterion("Pain <>", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainGreaterThan(String value) {
            addCriterion("Pain >", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainGreaterThanOrEqualTo(String value) {
            addCriterion("Pain >=", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainLessThan(String value) {
            addCriterion("Pain <", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainLessThanOrEqualTo(String value) {
            addCriterion("Pain <=", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainLike(String value) {
            addCriterion("Pain like", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainNotLike(String value) {
            addCriterion("Pain not like", value, "pain");
            return (Criteria) this;
        }

        public Criteria andPainIn(List<String> values) {
            addCriterion("Pain in", values, "pain");
            return (Criteria) this;
        }

        public Criteria andPainNotIn(List<String> values) {
            addCriterion("Pain not in", values, "pain");
            return (Criteria) this;
        }

        public Criteria andPainBetween(String value1, String value2) {
            addCriterion("Pain between", value1, value2, "pain");
            return (Criteria) this;
        }

        public Criteria andPainNotBetween(String value1, String value2) {
            addCriterion("Pain not between", value1, value2, "pain");
            return (Criteria) this;
        }

        public Criteria andPbinIsNull() {
            addCriterion("Pbin is null");
            return (Criteria) this;
        }

        public Criteria andPbinIsNotNull() {
            addCriterion("Pbin is not null");
            return (Criteria) this;
        }

        public Criteria andPbinEqualTo(String value) {
            addCriterion("Pbin =", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinNotEqualTo(String value) {
            addCriterion("Pbin <>", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinGreaterThan(String value) {
            addCriterion("Pbin >", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinGreaterThanOrEqualTo(String value) {
            addCriterion("Pbin >=", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinLessThan(String value) {
            addCriterion("Pbin <", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinLessThanOrEqualTo(String value) {
            addCriterion("Pbin <=", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinLike(String value) {
            addCriterion("Pbin like", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinNotLike(String value) {
            addCriterion("Pbin not like", value, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinIn(List<String> values) {
            addCriterion("Pbin in", values, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinNotIn(List<String> values) {
            addCriterion("Pbin not in", values, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinBetween(String value1, String value2) {
            addCriterion("Pbin between", value1, value2, "pbin");
            return (Criteria) this;
        }

        public Criteria andPbinNotBetween(String value1, String value2) {
            addCriterion("Pbin not between", value1, value2, "pbin");
            return (Criteria) this;
        }

        public Criteria andPcinIsNull() {
            addCriterion("Pcin is null");
            return (Criteria) this;
        }

        public Criteria andPcinIsNotNull() {
            addCriterion("Pcin is not null");
            return (Criteria) this;
        }

        public Criteria andPcinEqualTo(String value) {
            addCriterion("Pcin =", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinNotEqualTo(String value) {
            addCriterion("Pcin <>", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinGreaterThan(String value) {
            addCriterion("Pcin >", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinGreaterThanOrEqualTo(String value) {
            addCriterion("Pcin >=", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinLessThan(String value) {
            addCriterion("Pcin <", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinLessThanOrEqualTo(String value) {
            addCriterion("Pcin <=", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinLike(String value) {
            addCriterion("Pcin like", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinNotLike(String value) {
            addCriterion("Pcin not like", value, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinIn(List<String> values) {
            addCriterion("Pcin in", values, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinNotIn(List<String> values) {
            addCriterion("Pcin not in", values, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinBetween(String value1, String value2) {
            addCriterion("Pcin between", value1, value2, "pcin");
            return (Criteria) this;
        }

        public Criteria andPcinNotBetween(String value1, String value2) {
            addCriterion("Pcin not between", value1, value2, "pcin");
            return (Criteria) this;
        }

        public Criteria andPtinIsNull() {
            addCriterion("Ptin is null");
            return (Criteria) this;
        }

        public Criteria andPtinIsNotNull() {
            addCriterion("Ptin is not null");
            return (Criteria) this;
        }

        public Criteria andPtinEqualTo(String value) {
            addCriterion("Ptin =", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinNotEqualTo(String value) {
            addCriterion("Ptin <>", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinGreaterThan(String value) {
            addCriterion("Ptin >", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinGreaterThanOrEqualTo(String value) {
            addCriterion("Ptin >=", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinLessThan(String value) {
            addCriterion("Ptin <", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinLessThanOrEqualTo(String value) {
            addCriterion("Ptin <=", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinLike(String value) {
            addCriterion("Ptin like", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinNotLike(String value) {
            addCriterion("Ptin not like", value, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinIn(List<String> values) {
            addCriterion("Ptin in", values, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinNotIn(List<String> values) {
            addCriterion("Ptin not in", values, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinBetween(String value1, String value2) {
            addCriterion("Ptin between", value1, value2, "ptin");
            return (Criteria) this;
        }

        public Criteria andPtinNotBetween(String value1, String value2) {
            addCriterion("Ptin not between", value1, value2, "ptin");
            return (Criteria) this;
        }

        public Criteria andFrequencyIsNull() {
            addCriterion("frequency is null");
            return (Criteria) this;
        }

        public Criteria andFrequencyIsNotNull() {
            addCriterion("frequency is not null");
            return (Criteria) this;
        }

        public Criteria andFrequencyEqualTo(String value) {
            addCriterion("frequency =", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotEqualTo(String value) {
            addCriterion("frequency <>", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyGreaterThan(String value) {
            addCriterion("frequency >", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyGreaterThanOrEqualTo(String value) {
            addCriterion("frequency >=", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyLessThan(String value) {
            addCriterion("frequency <", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyLessThanOrEqualTo(String value) {
            addCriterion("frequency <=", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyLike(String value) {
            addCriterion("frequency like", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotLike(String value) {
            addCriterion("frequency not like", value, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyIn(List<String> values) {
            addCriterion("frequency in", values, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotIn(List<String> values) {
            addCriterion("frequency not in", values, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyBetween(String value1, String value2) {
            addCriterion("frequency between", value1, value2, "frequency");
            return (Criteria) this;
        }

        public Criteria andFrequencyNotBetween(String value1, String value2) {
            addCriterion("frequency not between", value1, value2, "frequency");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyIsNull() {
            addCriterion("combinedActiveTipEnergy is null");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyIsNotNull() {
            addCriterion("combinedActiveTipEnergy is not null");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyEqualTo(String value) {
            addCriterion("combinedActiveTipEnergy =", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyNotEqualTo(String value) {
            addCriterion("combinedActiveTipEnergy <>", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyGreaterThan(String value) {
            addCriterion("combinedActiveTipEnergy >", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyGreaterThanOrEqualTo(String value) {
            addCriterion("combinedActiveTipEnergy >=", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyLessThan(String value) {
            addCriterion("combinedActiveTipEnergy <", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyLessThanOrEqualTo(String value) {
            addCriterion("combinedActiveTipEnergy <=", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyLike(String value) {
            addCriterion("combinedActiveTipEnergy like", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyNotLike(String value) {
            addCriterion("combinedActiveTipEnergy not like", value, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyIn(List<String> values) {
            addCriterion("combinedActiveTipEnergy in", values, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyNotIn(List<String> values) {
            addCriterion("combinedActiveTipEnergy not in", values, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyBetween(String value1, String value2) {
            addCriterion("combinedActiveTipEnergy between", value1, value2, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andCombinedactivetipenergyNotBetween(String value1, String value2) {
            addCriterion("combinedActiveTipEnergy not between", value1, value2, "combinedactivetipenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyIsNull() {
            addCriterion("forwardActiveTotalElectricalEnergy is null");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyIsNotNull() {
            addCriterion("forwardActiveTotalElectricalEnergy is not null");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyEqualTo(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy =", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyNotEqualTo(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy <>", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyGreaterThan(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy >", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyGreaterThanOrEqualTo(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy >=", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyLessThan(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy <", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyLessThanOrEqualTo(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy <=", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyLike(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy like", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyNotLike(String value) {
            addCriterion("forwardActiveTotalElectricalEnergy not like", value, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyIn(List<String> values) {
            addCriterion("forwardActiveTotalElectricalEnergy in", values, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyNotIn(List<String> values) {
            addCriterion("forwardActiveTotalElectricalEnergy not in", values, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyBetween(String value1, String value2) {
            addCriterion("forwardActiveTotalElectricalEnergy between", value1, value2, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andForwardactivetotalelectricalenergyNotBetween(String value1, String value2) {
            addCriterion("forwardActiveTotalElectricalEnergy not between", value1, value2, "forwardactivetotalelectricalenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyIsNull() {
            addCriterion("totalReverseActiveEnergy is null");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyIsNotNull() {
            addCriterion("totalReverseActiveEnergy is not null");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyEqualTo(String value) {
            addCriterion("totalReverseActiveEnergy =", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyNotEqualTo(String value) {
            addCriterion("totalReverseActiveEnergy <>", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyGreaterThan(String value) {
            addCriterion("totalReverseActiveEnergy >", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyGreaterThanOrEqualTo(String value) {
            addCriterion("totalReverseActiveEnergy >=", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyLessThan(String value) {
            addCriterion("totalReverseActiveEnergy <", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyLessThanOrEqualTo(String value) {
            addCriterion("totalReverseActiveEnergy <=", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyLike(String value) {
            addCriterion("totalReverseActiveEnergy like", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyNotLike(String value) {
            addCriterion("totalReverseActiveEnergy not like", value, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyIn(List<String> values) {
            addCriterion("totalReverseActiveEnergy in", values, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyNotIn(List<String> values) {
            addCriterion("totalReverseActiveEnergy not in", values, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyBetween(String value1, String value2) {
            addCriterion("totalReverseActiveEnergy between", value1, value2, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andTotalreverseactiveenergyNotBetween(String value1, String value2) {
            addCriterion("totalReverseActiveEnergy not between", value1, value2, "totalreverseactiveenergy");
            return (Criteria) this;
        }

        public Criteria andWppIsNull() {
            addCriterion("Wpp is null");
            return (Criteria) this;
        }

        public Criteria andWppIsNotNull() {
            addCriterion("Wpp is not null");
            return (Criteria) this;
        }

        public Criteria andWppEqualTo(String value) {
            addCriterion("Wpp =", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppNotEqualTo(String value) {
            addCriterion("Wpp <>", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppGreaterThan(String value) {
            addCriterion("Wpp >", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppGreaterThanOrEqualTo(String value) {
            addCriterion("Wpp >=", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppLessThan(String value) {
            addCriterion("Wpp <", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppLessThanOrEqualTo(String value) {
            addCriterion("Wpp <=", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppLike(String value) {
            addCriterion("Wpp like", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppNotLike(String value) {
            addCriterion("Wpp not like", value, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppIn(List<String> values) {
            addCriterion("Wpp in", values, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppNotIn(List<String> values) {
            addCriterion("Wpp not in", values, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppBetween(String value1, String value2) {
            addCriterion("Wpp between", value1, value2, "wpp");
            return (Criteria) this;
        }

        public Criteria andWppNotBetween(String value1, String value2) {
            addCriterion("Wpp not between", value1, value2, "wpp");
            return (Criteria) this;
        }

        public Criteria andEppIsNull() {
            addCriterion("Epp is null");
            return (Criteria) this;
        }

        public Criteria andEppIsNotNull() {
            addCriterion("Epp is not null");
            return (Criteria) this;
        }

        public Criteria andEppEqualTo(String value) {
            addCriterion("Epp =", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppNotEqualTo(String value) {
            addCriterion("Epp <>", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppGreaterThan(String value) {
            addCriterion("Epp >", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppGreaterThanOrEqualTo(String value) {
            addCriterion("Epp >=", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppLessThan(String value) {
            addCriterion("Epp <", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppLessThanOrEqualTo(String value) {
            addCriterion("Epp <=", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppLike(String value) {
            addCriterion("Epp like", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppNotLike(String value) {
            addCriterion("Epp not like", value, "epp");
            return (Criteria) this;
        }

        public Criteria andEppIn(List<String> values) {
            addCriterion("Epp in", values, "epp");
            return (Criteria) this;
        }

        public Criteria andEppNotIn(List<String> values) {
            addCriterion("Epp not in", values, "epp");
            return (Criteria) this;
        }

        public Criteria andEppBetween(String value1, String value2) {
            addCriterion("Epp between", value1, value2, "epp");
            return (Criteria) this;
        }

        public Criteria andEppNotBetween(String value1, String value2) {
            addCriterion("Epp not between", value1, value2, "epp");
            return (Criteria) this;
        }

        public Criteria andMwppIsNull() {
            addCriterion("Mwpp is null");
            return (Criteria) this;
        }

        public Criteria andMwppIsNotNull() {
            addCriterion("Mwpp is not null");
            return (Criteria) this;
        }

        public Criteria andMwppEqualTo(String value) {
            addCriterion("Mwpp =", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppNotEqualTo(String value) {
            addCriterion("Mwpp <>", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppGreaterThan(String value) {
            addCriterion("Mwpp >", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppGreaterThanOrEqualTo(String value) {
            addCriterion("Mwpp >=", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppLessThan(String value) {
            addCriterion("Mwpp <", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppLessThanOrEqualTo(String value) {
            addCriterion("Mwpp <=", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppLike(String value) {
            addCriterion("Mwpp like", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppNotLike(String value) {
            addCriterion("Mwpp not like", value, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppIn(List<String> values) {
            addCriterion("Mwpp in", values, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppNotIn(List<String> values) {
            addCriterion("Mwpp not in", values, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppBetween(String value1, String value2) {
            addCriterion("Mwpp between", value1, value2, "mwpp");
            return (Criteria) this;
        }

        public Criteria andMwppNotBetween(String value1, String value2) {
            addCriterion("Mwpp not between", value1, value2, "mwpp");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNull() {
            addCriterion("device_name is null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIsNotNull() {
            addCriterion("device_name is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceNameEqualTo(String value) {
            addCriterion("device_name =", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotEqualTo(String value) {
            addCriterion("device_name <>", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThan(String value) {
            addCriterion("device_name >", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameGreaterThanOrEqualTo(String value) {
            addCriterion("device_name >=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThan(String value) {
            addCriterion("device_name <", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLessThanOrEqualTo(String value) {
            addCriterion("device_name <=", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameLike(String value) {
            addCriterion("device_name like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotLike(String value) {
            addCriterion("device_name not like", value, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameIn(List<String> values) {
            addCriterion("device_name in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotIn(List<String> values) {
            addCriterion("device_name not in", values, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameBetween(String value1, String value2) {
            addCriterion("device_name between", value1, value2, "deviceName");
            return (Criteria) this;
        }

        public Criteria andDeviceNameNotBetween(String value1, String value2) {
            addCriterion("device_name not between", value1, value2, "deviceName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}